988be2f617ea68e289440dbc9fcd07ef354af231,basex-core/src/main/java/org/basex/query/expr/Try.java,Try,inline,#QueryContext#VarScope#Var#Expr#,90

Before Change


      for(final Catch c : ctch) {
        if(c.matches(qe)) {
          // found a matching clause, inline variable and error message
          return optPre(c.inline(ctx, scp, v, e).asExpr(qe, ctx, scp), ctx);
        }
      }
      throw qe;

After Change


      for(final Catch c : ctch) {
        if(c.matches(qe)) {
          // found a matching clause, inline variable and error message
          final Catch ca = c.inline(ctx, scp, v, e);
          if(ca != null) return optPre(ca.asExpr(qe, ctx, scp), ctx);
        }
      }